package panels;

import java.awt.BorderLayout;
import java.awt.Color;

import javax.swing.JPanel;
import javax.swing.JScrollPane;

import functions.AddAppointment;

import views.DayView;
import views.MonthView;
import views.WeekView;

public class Inner extends JPanel {
	// INNER PANEL IS THE WHOLE PHONE SCREEN.
	// 
	public Inner(){
		/* SET BACKGROUND COLOUR AND LAYOUT MANAGER */
		this.setBackground(Color.white);
		this.setLayout(new BorderLayout());
		
		/* TOP BAR */
		TopBar tb = new TopBar();
		this.add(tb,BorderLayout.NORTH);
		
		
		/* ADD INNERPANEL VIEW HERE */
		WeekView weekView = new WeekView();
		DayView dayView = new DayView();
		MonthView monthView = new MonthView();
		AddAppointment appView = new AddAppointment();
		
		this.add(appView,BorderLayout.CENTER);
		 
		 /* END INNERPANEL VIEW HERE */
		
		/* BOTTOM BAR */
		BottomBar bb = new BottomBar();
		this.add(bb,BorderLayout.SOUTH);
	}
}
